package com.zzz.demo01;

import java.util.Map;

/**
 * @author zhuzhizun
 * @date 2021/7/16
 */
public class Dir {
    public static void main(String[] args) {
        System.setProperty("usr.dir","/");
        System.out.println(System.getProperty("usr.dir"));
        Map<String, String> map = System.getenv();
        map.forEach((k,v)-> {
            System.out.println(k+": "+v);
        });

    }
}
